package Calculadora;
/**
 * An abstract structure implementing features common to all
 * list-like structures in this package.

 * @version $Id: SinglyLinkedList.java,v 4.1 2000/12/29 02:39:16 bailey Exp bailey $
 * @author, 2001 duane a. bailey
 * @see DoublyLinkedList
 * @see CircularList
 * @see SinglyLinkedList
 */
public abstract class AbstractList<E> implements List<E>
{
    /**
     * Default constructor for AbstractLists
     * @post does nothing
     */
    public AbstractList()
    {
    }

    /**
     * Determine if list is empty.
     *
     * @post returns true iff list has no elements
     * 
     * @return True if list has no elements.
     */
    @Override
    public boolean isEmpty()
    {
	return size() == 0;
    }
    
}

